
$("#back").on("click",function(){
    window.location.href = "userInfoList";
});

$("#back1").on("click",function(){
    window.location.href = "proList";
});



//审核通过
$(".status2").on("click",function () {
    var pSummary = $(".pSummary").val();//审核信息填写

    var prostatus = $(this).attr("prostatus");//
    var proCode = $(this).attr("proCode");

    $.ajax( {
        url:"/backend/checksave",
        type:"GET",
        dataType:"json",
        data:{"pSummary":pSummary,"prostatus":prostatus,"proCode":proCode},
        success:function(data) {
            if (data.result == 'T'){
                alert("审核已通过");
            }else if (data.result == 'F'){
                alert("审核失败");
            }else {
                alert("审核为空")
            }
        },
        error:function(){
            alert("审核异常")
        }
    })
});

//审核不通过
$(".status3").on("click",function () {
    var pSummary = $(".pSummary").val();//审核信息填写

    var prostatus = $(this).attr("prostatus");//
    var proCode = $(this).attr("proCode");

    $.ajax( {
        url:"/backend/checksave",
        type:"GET",
        dataType:"json",
        data:{"pSummary":pSummary,"prostatus":prostatus,"proCode":proCode},
        success:function(data) {
            if (data.result == 'T'){
                alert("审核不通过成功");
            }else if (data.result == 'F'){
                alert("审核失败");
            }else {
                alert("审核为空")
            }
        },
        error:function(){
            alert("审核异常")
        }
    })
});